package com.asset.dispoal.gbEvidenceIdentification.service.converter;

import com.asset.dispoal.gbEvidenceIdentification.domain.db.entity.GbEvidenceIdentificationDo;
import com.asset.dispoal.gbEvidenceIdentification.dto.GbEvidenceIdentificationRequest;
import com.asset.dispoal.gbEvidenceIdentification.dto.GbEvidenceIdentificationResponse;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @author qr
 * @date 2022/3/3$
 */
@Mapper
public interface GbEvidenceIdentificationConverter {

    GbEvidenceIdentificationConverter INSTANCE = Mappers.getMapper(GbEvidenceIdentificationConverter.class);

    GbEvidenceIdentificationDo reqToDo(GbEvidenceIdentificationRequest request);

    List<GbEvidenceIdentificationDo> reqToDo(List<GbEvidenceIdentificationRequest> request);

    List<GbEvidenceIdentificationResponse> doToRes(List<GbEvidenceIdentificationDo> doList);

}
